// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/style/reset.css'
// 有一个1像素边框的问题,为了适应多屏幕,用border.css
import './assets/style/border.css'
// 某些手机有一个click事件延迟三百毫秒,引入fastclick库
import fastClick from 'fastclick'
import '../node_modules/swiper/dist/css/swiper.css'
import '../node_modules/animate.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
/* eslint-disable no-new */
// 路由就是根据网址不同返回不同的内容
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
